#ifdef HAVE_CONFIG_H
 #include "config.hpp"
#endif

#include "types.hpp"

pos_t p00(-6,-2, 3,7,12,8,4,0);
pos_t p01(-6,0, 4,8,13,9,5,1);
pos_t p02(-6,2, 5,9,14,10,6,2);
pos_t p10(-3,-3, 11,16,22,17,12,7);
pos_t p11(-3,-1, 12,17,23,18,13,8);
pos_t p12(-3,+1, 13,18,24,19,14,9);
pos_t p13(-3,+3, 14,19,25,20,15,10);
pos_t p20(0,-4, 21,27,33,28,22,16);
pos_t p21(0,-2, 22,28,34,29,23,17);
pos_t p22(0,0, 23,29,35,30,24,18);
pos_t p23(0,2, 24,30,36,31,25,19);
pos_t p24(0,4, 25,31,37,32,26,20);
pos_t p30(+3,-3, 33,38,43,39,34,28);
pos_t p31(+3,-1, 34,39,44,40,35,29);
pos_t p32(+3,+1, 35,40,45,41,36,30);
pos_t p33(+3,+3, 36,41,46,42,37,31);
pos_t p40(+6,-2, 43,47,51,48,44,39);
pos_t p41(+6,0, 44,48,52,49,45,40);
pos_t p42(+6,2, 45,49,53,50,46,41);

//allocate all the tiles in an array
/*
pos_t grid[19]={
  p00,
  p01,
  p02,
  p10,
  p11,
  p12,
  p13,
  p20,
  p21,
  p22,
  p23,
  p24,
  p30,
  p31,
  p32,
  p33,
  p40,
  p41,
  p42};
*/

int sext_00=12,sext_01=11,sext_11=3,sext_22=0;
pos_t grid[19]={
  p22,
  p23,
  p12,
  p11,
  p21,
  p31,
  p32,
  p33,
  p24,
  p13,
  p02,
  p01,
  p00,
  p10,
  p20,
  p30,
  p40,
  p41,
  p42};
